<div class="post">
    <div>
        <div class="post_titolo"><strong>"<?php echo strtoupper($post->getTitle()) ?>"</strong></div>
        <div class="side_post_author">
            <?php echo __('posted by') ?>:
            <strong><?php echo $post->getAuthor() ?></strong>
        </div>
        <div class="side_post_date">
            <b><?php echo format_date($post->getDate(), 'dd.').
                ucwords(format_date($post->getDate(), 'MMM.yyyy')) ?></b>
        </div>
        <div style="clear:both; margin-bottom:6px; border-bottom:1px dotted #000;"></div>
    </div>
    <div>
        <?php if($short): ?>
            <?php if($post->getPreview() != null): ?>
                <div class="preview">
                    <?php echo image_tag('/uploads/blog/thumb/'.$post->getPreview(), array('alt' => $post->getTitle(), 'width' => '100')) ?>
                </div>
            <?php endif; ?>
            <?php if($short = Custom::getShortText(html_entity_decode($post->getText()))): ?>
                <?php echo $short ?>
                <div class="side_post_more"><?php echo link_to(__('read more'), 'post_read', $post) ?></div>
            <?php else: ?>
                <?php echo html_entity_decode($post->getText()) ?>
            <?php endif; ?>
        <?php else: ?>
            <div class="preview">
                <?php echo image_tag('/uploads/blog/thumb/'.$post->getPreview(), array('alt' => $post->getTitle())) ?>
            </div>
            <?php echo html_entity_decode($post->getText()) ?>
        <?php endif; ?>
    </div>
</div>